/**
 * @Auther FF
 * @Date 2022年 10月 15日
 * @Time 17:40
 */


public class testGetCode {

    public static void main(String[] args) throws Exception {
//        https://hdgateway.zto.com/listOrderBillDetail
//        Accept: */*
//        Accept-Encoding: gzip, deflate, br
//        Accept-Language: zh-CN,zh;q=0.9
//        Connection: keep-alive
//        Content-Length: 41
//        Content-Type: application/json
//        Host: hdgateway.zto.com
//        Origin: https://www.zto.com
//        Referer: https://www.zto.com/express/expressCheck.html
//        Sec-Fetch-Dest: empty
//        Sec-Fetch-Mode: cors
//        Sec-Fetch-Site: same-site
//        User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
//        x-captcha-code: nkug
//        x-captcha-id: 268e9e34-8542-45ba-8a5f-abab3491c235
//        x-clientCode: pc
//        x-token: null
//        String postUrl = "https://hdgateway.zto.com/listOrderBillDetail";
//        String getUrl = "https://yz.m.sm.cn/s?from=wm827671&q=78623671866776";
//        Map<String, String> params = new HashMap<>();
//        Map<String, String> headers = new HashMap<>();
//
//        params.put("codes", "[{billCode: '78623671866776'}]");
//        headers.put("Accept", "*/*");
//        headers.put("Accept-Encoding", "gzip, deflate, br");
//        headers.put("Connection", "keep-alive");
//        headers.put("Content-Length", "41");
//        headers.put("Content-Type", "application/json");
//        headers.put("Host", "hdgateway.zto.com");
//        headers.put("Origin","https://www.zto.com");
//        headers.put("Referer","https://www.zto.com/express/expressCheck.html");
//        headers.put("x-captcha-code","nkug");
//        headers.put("x-captcha-id", "268e9e34-8542-45ba-8a5f-abab3491c235");
//        headers.put("x-clientCode", "pc");

//        String url, Map<String, String> params, Map<String, String> headers, Integer connTimeout,Integer readTimeout
//        String result = HttpClientUtils.postForm(url, params, headers, 10, 10);
//        String result = HttpClientUtils.get(getUrl);
//
//        System.out.println(result);


    }

}
